import LayoutImmersive from '@/layout/LayoutImmersive/index.vue';
import type { AppRoute } from '@/types/route';

const blogCreateRouter: AppRoute[] = [
  {
    path: '/blogCreate',
    component: LayoutImmersive,
    redirect: '/blogCreate/index',
    name: 'blogCreate',
    meta: {
      title: '创作中心',
      icon: 'chat-square',
      roles: ['USER', 'GUEST']
      // watermark: true
    },
    children: [
      {
        path: '/blogCreate/index',
        component: () => import('@/views/blogCreate/index.vue'),
        name: 'blogCreateShow',
        meta: {
          title: '开始创作',
          icon: 'chat-square',
          roles: ['USER', 'GUEST']
        }
      }
    ],
    hidden: true
  }
];

export default blogCreateRouter;
